import json


class Read_data:
    # 封装读取数据文件的方法
    @classmethod
    def read_data(cls, file_path):
        with open(file_path, encoding='utf-8') as f:
            data = json.load(f)
        list = []
        for item in data:
            temp = tuple(item.values())
            list.append(temp)
        return list

